import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import resolveExternalsPlugin from 'vite-plugin-resolve-externals';
import path from 'path';

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), resolveExternalsPlugin({
    cesium: 'Cesium'
  })],
  resolve: {
    alias: [
      {
        find: '@',
        replacement: path.resolve(__dirname, 'src')
      }
    ]
  }
})
